libxl: Handle xen_platform_pci=0 case with qemu-xen.
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 27 Nov 2013 18:21:34 +0000 (18:21 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 29 Nov 2013 09:28:06 +0000 (09:28 +0000)
commit2bc047635b51abd41c917aa2b813211ee0de2c38
treea13a2c44aa6d89eee119566fbf20446cd94117df
parent6c5b00aae9525db09d77c577080560b8bf688978
libxl: Handle xen_platform_pci=0 case with qemu-xen.

This should result in QEMU *not* adding the xen-platform device.

Since QEMU 1.6, this can be achieved by using a different qemu machine.
The one used by libxl is "xenfv", but using QEMU >=1.6 with "-machine
pc,accel=xen" works as well with only one difference compared to
"xenfv", there is no xen-platform device.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_dm.c